﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN" prefix="og: http://ogp.me/ns#">
<head>
		
	<meta charset="utf-8" />
	<meta name="Author" content="Wolfalpha Inc." />
	<meta name="viewport" content="width=device-width, initial-scale=1" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9" />
	
	<title>优创会——后台</title>
	<meta name="Description" content="供公司内部使用"  />
	<meta property="og:site_name" content="Wolfalpha" />
<link rel="stylesheet" href="Static/css/index_main.css" />
<link rel="stylesheet" type="text/css" href="Static/css/app_reset.css">
<script type="text/javascript" src="Static/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="Static/js/index_main.js"></script>
</head>
<body>
<table class="frame" border="0" width="100%" heigh="100%" cellspacing="0">
	<tr>
		<td class="c_left"><!--左侧菜单栏-->
			<h1 class="userName"><?php  
			if(!isset($_SESSION['adminName'])){
				echo '未登录';
			}else{
				echo $_SESSION['adminName'];
			}
			?></h1>
			<ul class="index_ul_1">
				<li> - &nbsp;<a id="index_sign">签到</a></li>
				<li> - &nbsp;<a id="index_count">统计</a></li>
				<li class="index_sucai" ><span class="index_span_more">+</span>&nbsp;<a onclick="tree(this)">素材</a>
					<ul class="index_ul_2">
						<li><a id="index_view_news">查看资讯</a></li>
						<li><a id="index_add_news">添加资讯</a></li>
						<li><a id="index_view_helper">查看助手</a></li>
						<li><a id="index_add_helper">添加助手</a></li>
						<li><a id="index_view_school">查看学校</a></li>
						<li><a id="index_add_school">添加学校</a></li>
					</ul>
				</li>
				<li class="index_admin" onclick="tree(this)"><span class="index_span_more">+</span>&nbsp;<a onclick="tree(this)">管理员</a>
					<ul class="index_ul_2">
						<li><a id="index_view_admins">查看管理员</a></li>
						<?php
							//是否是超级管理员
							echo "<li><a id='index_add_admin'>添加管理员</a></li>";
						?>
					</ul>
				</li>
			</ul>
			
			<a class="sign" href="#">
			<?
				if(isset($_SESSION['adminName'])){
					echo "<a id='index_logout'>注销</a>";
				}else{
					echo "<a id='index_login'>登录</a>";
				}
			?>
			</a><br/>
			<span class="copy">&copy 2014-2015 优创会</span>
		</td>
		<td class="c_right" id="content" align="left" valign="top"><!--右侧内容栏-->
			<!--这里是内容区域 通过jqery ajax获得相应界面-->
		</td>
	</tr>
</table>
</body>
</html>
